A New Line Drawing Algorithm Based on Sample Rate Conversion

ثبت نشده
چکیده

1 Overview In this paper, a new method for drawing straight lines suitable for use on raster scan displays and plotters is presented. Unlike previous methods which are based on DDA or midpoint algorithms, this technique is based on signal processing concepts related to resampling, multirate processing and sample rate conversion generally, and decimation in particular. An algorithm based on spatial decimation is developed which has attractive features including the elimination of test, compare and branch operations within the inner plotting loop. Furthermore, all multiplies, divides, shifts and other complex CPU operations are eliminated from the inner loop, as well. Lines can be drawn in any orientation with 'nearest pixel' accuracy using only the primitive CPU operations of addition (subtraction) and incrementing (decrementing). With some CPU architectures, including current Intel and AMD processors, it is possible to hold all variables in CPU registers so that the only memory accesses required in the inner loop relate to the plotting function. A variety of line drawing algorithms have been published in the literature. Among these are algorithms by Bresenham [1], Wu [5] and others. The central problem solved by these algorithms is to find a 'best fit' to an ideal line, given the constraints imposed by a raster scan or integer grid limited display. See also Pitteway [3], and Foley [2]. These prior art solutions are typically derived from the differential quantities associated with a straight line and focus on correct pixel selection or 1

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

A New Heuristic Algorithm for Drawing Binary Trees within Arbitrary Polygons Based on Center of Gravity

Graphs have enormous usage in software engineering, network and electrical engineering. In fact graphs drawing is a geometrically representation of information. Among graphs, trees are concentrated because of their ability in hierarchical extension as well as processing VLSI circuit. Many algorithms have been proposed for drawing binary trees within polygons. However these algorithms generate b...

متن کامل

Polygon Statistics and Polygon Scan-Conversion and Antialiasing

We present a new method for line drawing, triangle filling, polygon filling, and antialiasing. Current statistics show that our method improves line drawing and antialiasing about 6 times and polygon filling functions significantly over all existing methods. Specifically, it can improve finding the span extrema of polygons about 2 times and drawing the antialiased polygon edges more than 2 time...

متن کامل

Evaluation of Forming Severity and Thickness Variation in Deep Drawing Process

This paper presents a new methodology for complete solution of general shape deep drawn parts. Evaluation of forming severity, estimation of the punch load and prediction of the thickness variation are the major results obtained in this work. The punch work is the summation of the homogenous work of flange deformation and bending and frictional works. To evaluate the strain energy of the flange...

متن کامل

Multi-Stage DC-AC Converter Based on new DC-DC converter for energy conversion

This paper proposes a multi-stage power generation system suitable for renewable energy sources, which is composed of a DC-DC power converter and a three-phase inverter. The DC-DC power converter is a boost converter to convert the output voltage of the DC source into two voltage sources. The DC-DC converter has two switches operates like a continuous conduction mode. The input current of DC-DC...

متن کامل

Sequencing Mixed Model Assembly Line Problem to Minimize Line Stoppages Cost by a Modified Simulated Annealing Algorithm Based on Cloud Theory

This research presents a new application of the cloud theory-based simulated annealing algorithm to solve mixed model assembly line sequencing problems where line stoppage cost is expected to be optimized. This objective is highly significant in mixed model assembly line sequencing problems based on just-in-time production system. Moreover, this type of problem is NP-hard and solving this probl...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2002